From a4de9a218c4d2bda6646bb296730f67e099f9e98 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 7 Dec 2005 11:43:43 +0000 Subject: [PATCH] Further fix to same_vm check. This fixes intermittent failure of live localhost migration. return [ test ] is not valid, simply [ test ] at the end of the function is the correct syntax. Signed-off-by: Ewan Mellor --- tools/examples/block | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/examples/block b/tools/examples/block index 6698df77c3..6868edda45 100644 --- a/tools/examples/block +++ b/tools/examples/block @@ -133,7 +133,7 @@ same_vm() local thisvm=$(xenstore-read "/local/domain/$thisdom/vm") local othervm=$(xenstore-read "/local/domain/$otherdom/vm") - return [ "$thisvm" == "$othervm" ] + [ "$thisvm" == "$othervm" ] } -- 2.30.2